package com.mxprojects.constructors
{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	public class CloseButton extends MovieClip
	{
		public function CloseButton(){
			addEventListener(MouseEvent.ROLL_OVER, rollOver, false, 0, true);
			addEventListener(MouseEvent.ROLL_OUT, rollOut, false, 0, true);
			//buttonMode = true;
		}
		
		private function rollOver(event:MouseEvent):void {
			gotoAndPlay("over");
		}
		
		private function rollOut(event:MouseEvent):void {
			gotoAndPlay("out");
		}

	}
}